package com.oa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 学员
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Student {

    private Integer studentId;
    private String studentName;
    private Integer classId;
    private String stuGender;
    private String stuPhone;
    private String stuQq;
    private String stuEmail;
    private String graduateSchool;
    private Integer educationId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inTime;
    private Integer empId;
    private String cardNum;
    private com.oa.pojo.Education education;
    private com.oa.pojo.Clz clz;
    private com.oa.pojo.Employee employee;


}
